package org.third.integration.kubernates.cmd;

import java.io.IOException;

import org.third.integration.kubernates.cmd.imp.bean.KubeImageInfoList;
import org.third.integration.kubernates.cmd.imp.bean.KubeInstanceInfo;
import org.third.integration.kubernates.cmd.imp.exp.NotValidK8sYamlException;
import org.third.integration.kubernates.cmd.imp.exp.RequestApiServerException;

public interface KubectlGet{
	
	KubeInstanceInfo execute(String type, String apiVersion, String namespace, String instanceName) throws NotValidK8sYamlException, RequestApiServerException;

	KubeInstanceInfo getAll(String type, String apiVersion, String namespace, String urlArgs) throws NotValidK8sYamlException, RequestApiServerException;
	
	//get local registry
	KubeImageInfoList getAllImages() throws NotValidK8sYamlException, RequestApiServerException;
	
	//get status
	KubeInstanceInfo getStatus(String type, String apiVersion,String namespace, String instanceName) throws NotValidK8sYamlException, RequestApiServerException;
	
	ConfigMapListDTO getAllList(String namespace,String type,String queryType) throws IOException;
	
	
	
	
	
	
	
}
